laravel if request has

47

laravel check if request has value -

@if (request('category'))
    <input type="hidden" name="category" value="{{ request('category') }}">
@endif

laravel request has -

if ($request->has('name')) {
    //
}

Comments

Submit
0 Comments